{{include template('public/header','admin')}}
<body>
    <div id="page-wrapper">
        <div class="row">
            <div class="col-lg-12">
                <div class="page-header">
                    <a href="add" class="btn btn-primary bar-btn">
                        <i class="fa fa-fw fa-plus"></i>添加节点
                    </a>
                </div>
                <div class="search">

                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-12">
                <form method="post"  class="form-inline" role="form">
                    <table class="table table-condensed table-hover table-striped tablesorter table-fixed table-selectable">
                        <thead>
                            <tr>
                            <tr class="text-c">
                                <th width="25"><input type="checkbox"></th>
                                <th>节点ID</th>
                                <th>节点名称</th>
                                <th>最后采集时间</th>
                                <th>内容操作</th>
                                <th>编码</th>
                                <th>操作</th>
                            </tr>
                            </tr>
                        </thead>
                        <tbody>
                            {{foreach $items as $item}}
                            <tr>
                                <td><input type="checkbox" class="checkbox" name="ids[]" value="{{$item.nodeid}}"></td>
                                <td >{{$item.nodeid}}</td>
                                <td >{{$item.name}}</td>
                                <td >{{date("Y-m-d H:i:s",$item.lastdate)}}</td>
                                <td>
                                    <a href="collection_list_url/?nodeid={{$item.nodeid}}">[采集网址]</a>
                                    <a href="collection_article_content/?nodeid={{$item.nodeid}}">[采集内容]</a>
                                    <a href="collection_list/?nodeid={{$item.nodeid}}&type=1&dosubmit=1" class="red">[内容发布]</a>
                                </td>
                                <td >{{$item.sourcecharset}}</td>
                                <td>
                                    <a href="collection_test/?nodeid={{$item.nodeid}}" class="btn btn-success btn-xs">测试采集</a>
                                    <a href="edit/?nodeid={{$item.nodeid}}"  class="btn btn-warning btn-xs">修改</a>
                                </td>
                            </tr>
                            {{/foreach}}
                        </tbody>
                    </table>
                </form>
            </div>
        </div>
    </div>
</body>
</html>